#import "AFModel.h"
@implementation AFModel
+ (instancetype)afModeltWithDictionary:(NSDictionary *)dictionary {
    return [[self alloc]initWithDictionary:dictionary];
}
- (instancetype)initWithDictionary:(NSDictionary *)dictionary {
    self = [super init];
    if (self) {
        self.appid = [dictionary objectForKey:@"appid"];
        self.appname = [dictionary objectForKey:@"appname"];
        self.desc = [dictionary objectForKey:@"desc"];
        self.isshowwap = [dictionary objectForKey:@"isshowwap"];
        self.status = [[dictionary objectForKey:@"status"] intValue];
        self.wapurl = [dictionary objectForKey:@"wapurl"];
    }
    return self;
}
@end
